package cn.iocoder.yudao.module.base.controller.admin.productinfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 产品信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProductInfoPageReqVO extends PageParam {

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "编号")
    private String code;

    @Schema(description = "规格")
    private String spec;

    @Schema(description = "群组", example = "9514")
    private Long groupId;

    @Schema(description = "单位", example = "17880")
    private Long unitId;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "类型", example = "1")
    private Integer type;

    @Schema(description = "种类")
    private Integer category;

    @Schema(description = "管理类型")
    private Integer manageType;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "显示顺序")
    private Integer sort;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}